//
//  ConsultWriteIdeaTableViewCell.h
//  yilutongxing
//
//  Created by ios-23 on 17/5/3.
//  Copyright © 2017年 YZE. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MKJChatModel.h"

@protocol consultChatCellHeadviewDelegate<NSObject>
-(void)onHeadViewTaped;
@end

@interface ConsultWriteIdeaTableViewCell : UITableViewCell
@property (nonatomic,strong) id<consultChatCellHeadviewDelegate> delegate;
@property (nonatomic,strong) UIImageView *headImageView; // 用户头像
@property (nonatomic,strong) UIImageView *backView; // 气泡
@property (nonatomic,strong) UILabel *contentLabel; // 气泡内文本

- (void)refreshCell:(MKJChatModel *)model; // 装配文本消息cell
- (void)refreshCellDrugplan:(MKJChatModel *)model delegate:(id)delegate forIndex:(NSUInteger)index; //装配用药方案cell
- (void)refreshCellSuggestion:(MKJChatModel *)model delegate:(id)delegate forIndex:(NSUInteger)index; //装配医生建议cell
- (void)refreshCellConsult:(MKJChatModel *)model delegate:(id)delegate forIndex:(NSUInteger)index; //装配患者咨询cell

@end
